/*
 * $Id: listing.scss 277 2012-11-26 23:26:32Z bobcat $
 * Styles specific to product listing pages go here. Mobile styles are
 * also specified here, to be overwritten in _queries.scss.
 */

// imports
@import '../main/main';

// classes
.product {
  @include clearfix;
  margin-bottom: 4em;

  & > article {
    float: left;
  }

  article {
    margin-bottom: 1em;
  }

  img {
    width: 100%;
    height: auto;
    border: $border-width solid $border-color;
  }

  table {
    margin-left: auto;
    margin-right: auto;

    td, th {
      padding: .2em 1em;

      &.tab {
        padding: 0;
      }
    }

    .title {
      text-align: right;
      font-weight: bold;
    }
  }
}

.image {
  width: 99%;
}

.description {
  p, ul, a {
    text-align: left;
  }

  ul {
    padding-left: 1.75em;
  }

  a {
    background-image: url('../../img/icons/light/64px/64_arrow.png');
    background-size: .6em;
    background-position: left .5em;
    padding-left: 1em;
    font-size: .9em;
    display: block;
    margin: .3em 0;
  }
}

.quantity {
  width: 4.5em;
}

// ids
#center-col {
  h3 {
    font-size: 1.2em;
    border: none;
  }
}

#right-col {
  display: none;
}

// media queries
@import 'queries';